#pragma once

namespace cupid
{

struct msg_head
{
	unsigned short	m_size;
	unsigned short	m_type;
	unsigned short	m_subType;
};

struct msg_connect : public msg_head
{
	char			m_name[_MAX_NAMESIZE];
	char			m_password[_MAX_NAMESIZE];
};

struct msg_talk : public msg_head
{
	int				m_time;
	char			m_sname[_MAX_NAMESIZE];
	char			m_data[_MAX_TALK_SIZE];
};

struct msg_friend: public msg_head
{
	char			m_name[_MAX_NAMESIZE];
};

}